﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProfileSector.cs" company="DissingNelleman">
//   
// All rights reserved. </copyright>
// <summary>
//   The profile sector.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace ServiceLibrary.Models.Domain
{
    using NHibernate.Mapping.ByCode.Conformist;

    using ServiceLibrary.Models.Base;

    /// <summary>
    /// The profile sector.
    /// </summary>
    public class ProfileSector : Entity
    {
        #region Public Properties

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        public virtual string Name { get; set; }

        #endregion
    }

    /// <summary>
    /// The profile sector mapping.
    /// </summary>
    public class ProfileSectorMapping : ClassMapping<ProfileSector>
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="ProfileSectorMapping"/> class.
        /// </summary>
        public ProfileSectorMapping()
        {
            this.Property(x => x.Name);
        }

        #endregion
    }
}